/*
 * EasyBounceRankView.h
 *
 *  Created on: 2009-3-14
 *      Author: Wayne
 */

#ifndef EASYBOUNCERANKVIEW_H_
#define EASYBOUNCERANKVIEW_H_

// INCLUDES
#include <aknview.h>

// CONSTANTS
// UID of view
const TUid KRankViewId = { 3 };

class CEasyBounceRankContainer;

// CLASS DECLARATION
class CEasyBounceRankView : public CAknView
	{
public:
	// New methods
	
	// Constructors
	void ConstructL();

	/**
	 * CEasyBounceRankView.
	 * C++ default constructor.
	 */
	CEasyBounceRankView();
	

	/**
	 * ~CEasyBounceRankView
	 */
	~CEasyBounceRankView();
	
	void UpdateCbaL();

public:
	// Functions from base classes
    
    /**
    * Return Uid
    */
    TUid Id() const;

    /**
    * Handle Commands
    */
    void HandleCommandL(TInt aCommand);

    /**
    * Handle Size changes
    */
    void HandleClientRectChange();

private:

    /**
    * From AknView, Activates view
    */
    void DoActivateL(const TVwsViewId& aPrevViewId,TUid aCustomMessageId,
        const TDesC8& aCustomMessage);

    /**
    * From AknView, Deactivates view
    */
    void DoDeactivate();

private:
	CEasyBounceRankContainer* iContainer;

	};

#endif /* EASYBOUNCERANKVIEW_H_ */
